package com.zh.onlineexam.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.zh.onlineexam.config.IsRightConverter;
import lombok.Data;

import java.util.Date;

/**
 * @className TExamRecordDto
 * @Description TODO
 * @Auther 29934
 * @Date 2022/9/3 13:11
 * @Version 1.0
 **/
@Data
public class TExamRecordDto {
    @ExcelProperty(value = "题目", index = 0)
    private String topic;
    @ExcelProperty(value = "答题时间", index = 1)
    private Date examDate;
    @ExcelProperty(value = "是否正确", index = 2,converter = IsRightConverter.class)
    private Integer isTrue;
    @ExcelProperty(value = "答题人", index = 3)
    private String examUser;
}
